import request from './request';

export const getArticleList = (params?: any) => {
  return request.get('/article/list', { params });
};

// 获取某个字典
export const getDictByKey = (key: string) => {
  return request.get(`/dic/${key}`);
};
